<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>{$seo_title}</title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <link
      rel="stylesheet"
      type="text/css"
      href="{STATIC_URL}plugin/swiper/css/swiper.min.css"
    />
    <link
      href="{STATIC_URL}web/iconfont/iconfont.css"
      rel="stylesheet"
      type="text/css"
    />
    <link
      href="{STATIC_URL}web/css/global.css"
      rel="stylesheet"
      type="text/css"
    />
    <link
      href="{STATIC_URL}web/css/index.css"
      rel="stylesheet"
      type="text/css"
    />
    <script
      type="text/javascript"
      src="{STATIC_URL}plugin/swiper/js/swiper.min.js"
    ></script>
    <script
      type="text/javascript"
      src="{STATIC_URL}js/jquery-1.8.2.min.js"
    ></script>
  </head>
  <body>
    {m:include "index","header"}
    <div class="home-news-bg">
      <div class="left-container home-list">
        {m:lists field="title,updatetime,id,click,url,color,flag,thumb" catid="$catid"
        limit="10" page="page"} {loop $data $v}
        <div class="news-box">
          <a href="{$v[url]}" class="img hover-img">
            <img
              src="{get_thumb($v['thumb'])}"
              alt="{$v[title]}"
              title="{$v[title]}"
            />
          </a>
          <div class="text">
            <a href="{$v[url]}" class="title">{$v[title]}</a>
            <div class="description">{$v[description]}</div>
            <div class="bottom">
              <div class="time icon-time-circle iconfont">
                {date('Y-m-d', $v['updatetime'])}
              </div>
              <div class="click icon-eye iconfont">{$v[click]}</div>
              {php $tag_data = content_list_tag($catid, $v['id']);} {if
              $tag_data}
              <div class="tags icon-tag iconfont">
                {loop $tag_data $val}
                <a href="{tag_url($val['id'])}" target="_blank">{$val[tag]}</a>
                {/loop}
              </div>
              {/if}
            </div>
          </div>
        </div>
        {/loop}
        <div class="list-page">{$pages}</div>
      </div>
      {m:include "index","globalRight"}
    </div>
    {m:include "index","footer"}
  </body>
</html>
